package mtest2.day2;

public class Dog extends Animal {

    public Dog() {
    }

    public Dog(String name, int age) {
//        super(name, age);
        this.name = name + "***";
        this.age = age;
    }

    @Override
    public void drink() {
//        super.drink();
        System.out.println("修狗喝可乐");
    }
}
